package com.agh.szepczynski.magisterka.service.events;

import java.util.ArrayList;
import java.util.List;

import com.agh.szepczynski.magisterka.service.beans.dm.Person;
import com.agh.szepczynski.magisterka.service.beans.dto.PersonProgress;

public class AlgorithmState {
	//progressess algorithms
	private List<PersonProgress> peopleProgresses = new ArrayList<PersonProgress>();

	//roulette
	private Person currentPerson; 
	private Float currentSum;

	public List<PersonProgress> getPeopleProgresses() {
		return peopleProgresses;
	}

	public void setPeopleProgresses(List<PersonProgress> peopleProgresses) {
		this.peopleProgresses = peopleProgresses;
	}

	@Override
	public String toString() {
		return "AlgorithmState [peopleProgresses=" + peopleProgresses + "]";
	}

	public Person getCurrentPerson() {
		return currentPerson;
	}

	public void setCurrentPerson(Person currentPerson) {
		this.currentPerson = currentPerson;
	}

	public Float getCurrentSum() {
		return currentSum;
	}

	public void setCurrentSum(Float currentSum) {
		this.currentSum = currentSum;
	}
	
}
